import sys, os
import argparse
import viewer
from PyQt5.QtWidgets import *
#from PyQt5.QtCore import *
#from PyQt5.QtGui import *

if __name__=='__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('-s', '--style', default='light', choices=['dark', 'light'], help='style: [dark, light]')
    args = parser.parse_args()

    app = QApplication(sys.argv)
    viewForm = viewer.Form(viewer.style[args.style])
    sys.exit(app.exec_())
